package me.flyray.crm.facade.request;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.io.Serializable;


/**
 * 平台/商户支付通道信息
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "修改平台 商户支付通道信息")
public class UpdatePayChannelConfigRequest implements Serializable {
	@NotNull(message="序号不能为空")
	@ApiModelProperty(value = "序号")
    private Integer id;
	
	@NotNull(message="平台编号不能为空")
	@ApiModelProperty(value = "平台编号")
    private String platformId;
	
	@ApiModelProperty(value = "商户号")
    private String merId;
	
	@ApiModelProperty(value = "支付通道编号")
    private String payChannelNo;
	
	@ApiModelProperty(value = "支付通道名称")
	private String payChannelName;
	
	@ApiModelProperty(value = "支付公司编号")
	private String payCompanyNo;
	
	@ApiModelProperty(value = "客户类型")
    private String customerType;
	
	@ApiModelProperty(value = "费率代码")
    private String feeCode;
	
	@ApiModelProperty(value = "第三方商户号")
    private String outMerNo;
	
	@ApiModelProperty(value = "第三方子商户号")
    private String outSubMerNo;
	
	@ApiModelProperty(value = "第三方账号")
    private String outMerAccount;
	
	@ApiModelProperty(value = "第三方公钥")
    private String outMerPublicKey;
	
	@ApiModelProperty(value = "第三方私钥")
    private String outMerPrivateKey;
	
	@ApiModelProperty(value = "加密方式")
    private String encryptionMethod;
	
	@ApiModelProperty(value = "证书地址")
    private String keyPath;
	
	@ApiModelProperty(value = "证书密码")
    private String keyPwd;
	//状态  0：开启   1：关闭
	@ApiModelProperty(value = "状态")
	private String status;
	
}
